.class public Les/lk0;
.super Ljava/lang/Object;
.source "GlobalInfo.java"


# static fields
.field private static a:Landroid/content/Context;

.field private static b:Les/li0;

.field private static c:Les/ii0;

.field private static d:Les/qi0;

.field private static e:Les/mi0;

.field private static f:Les/ni0;

.field private static g:Les/oi0;

.field private static h:Les/cj0;

.field private static i:Les/hi0;

.field private static j:Les/zl0;

.field private static k:Les/ji0;

.field private static l:Les/ki0;

.field private static m:Les/si0;

.field private static n:Les/pi0;

.field private static o:Les/ri0;


# direct methods
.method public static a()Landroid/content/Context;
    .locals 2

    .line 4
    sget-object v0, Les/lk0;->a:Landroid/content/Context;

    if-eqz v0, :cond_0

    return-object v0

    .line 5
    :cond_0
    new-instance v0, Ljava/lang/IllegalArgumentException;

    const-string v1, "Context is null"

    invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public static a(Landroid/content/Context;)V
    .locals 1

    if-eqz p0, :cond_0

    .line 1
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    sput-object p0, Les/lk0;->a:Landroid/content/Context;

    return-void

    .line 3
    :cond_0
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string v0, "Context is null"

    invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method public static a(Les/cj0;)V
    .locals 0
    .param p0    # Les/cj0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 15
    sput-object p0, Les/lk0;->h:Les/cj0;

    return-void
.end method

.method public static a(Les/hi0;)V
    .locals 0
    .param p0    # Les/hi0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 16
    sput-object p0, Les/lk0;->i:Les/hi0;

    return-void
.end method

.method public static a(Les/li0;)V
    .locals 0
    .param p0    # Les/li0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 6
    sput-object p0, Les/lk0;->b:Les/li0;

    return-void
.end method

.method public static a(Les/mi0;)V
    .locals 0
    .param p0    # Les/mi0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 8
    sput-object p0, Les/lk0;->e:Les/mi0;

    return-void
.end method

.method public static a(Les/ni0;)V
    .locals 0
    .param p0    # Les/ni0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 9
    sput-object p0, Les/lk0;->f:Les/ni0;

    return-void
.end method

.method public static a(Les/oi0;)V
    .locals 2
    .param p0    # Les/oi0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 10
    sput-object p0, Les/lk0;->g:Les/oi0;

    .line 11
    :try_start_0
    invoke-interface {p0}, Les/oi0;->a()Lorg/json/JSONObject;

    move-result-object p0

    const-string v0, "hook"

    const/4 v1, 0x0

    invoke-virtual {p0, v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result p0

    const/4 v0, 0x1

    if-ne p0, v0, :cond_0

    .line 12
    invoke-static {}, Les/wk0;->a()V

    .line 13
    :cond_0
    invoke-static {}, Lcom/ss/android/socialbase/appdownloader/e;->k()Lcom/ss/android/socialbase/appdownloader/e;

    move-result-object p0

    invoke-static {}, Les/lk0;->v()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/ss/android/socialbase/appdownloader/e;->b(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p0

    .line 14
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method public static a(Les/qi0;)V
    .locals 0
    .param p0    # Les/qi0;
        .annotation build Landroidx/annotation/NonNull;
        .end annotation
    .end param

    .line 7
    sput-object p0, Les/lk0;->d:Les/qi0;

    return-void
.end method

.method public static a(Ljava/lang/String;)V
    .locals 1

    .line 17
    invoke-static {}, Lcom/ss/android/socialbase/appdownloader/e;->k()Lcom/ss/android/socialbase/appdownloader/e;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/ss/android/socialbase/appdownloader/e;->a(Ljava/lang/String;)V

    return-void
.end method

.method public static b()Les/li0;
    .locals 1

    .line 3
    sget-object v0, Les/lk0;->b:Les/li0;

    return-object v0
.end method

.method public static b(Landroid/content/Context;)V
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->a:Landroid/content/Context;

    if-nez v0, :cond_0

    if-eqz p0, :cond_0

    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p0

    sput-object p0, Les/lk0;->a:Landroid/content/Context;

    :cond_0
    return-void
.end method

.method public static c()Les/ii0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->c:Les/ii0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/lk0$a;

    invoke-direct {v0}, Les/lk0$a;-><init>()V

    sput-object v0, Les/lk0;->c:Les/ii0;

    .line 3
    :cond_0
    sget-object v0, Les/lk0;->c:Les/ii0;

    return-object v0
.end method

.method public static d()Les/qi0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->d:Les/qi0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/mk0;

    invoke-direct {v0}, Les/mk0;-><init>()V

    sput-object v0, Les/lk0;->d:Les/qi0;

    .line 3
    :cond_0
    sget-object v0, Les/lk0;->d:Les/qi0;

    return-object v0
.end method

.method public static e()Les/mi0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->e:Les/mi0;

    return-object v0
.end method

.method public static f()Les/ni0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->f:Les/ni0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/nk0;

    invoke-direct {v0}, Les/nk0;-><init>()V

    sput-object v0, Les/lk0;->f:Les/ni0;

    .line 3
    :cond_0
    sget-object v0, Les/lk0;->f:Les/ni0;

    return-object v0
.end method

.method public static g()Les/zl0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->j:Les/zl0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/lk0$b;

    invoke-direct {v0}, Les/lk0$b;-><init>()V

    sput-object v0, Les/lk0;->j:Les/zl0;

    .line 3
    :cond_0
    sget-object v0, Les/lk0;->j:Les/zl0;

    return-object v0
.end method

.method public static h()Les/si0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->m:Les/si0;

    return-object v0
.end method

.method public static i()Lorg/json/JSONObject;
    .locals 3
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->g:Les/oi0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/lk0$c;

    invoke-direct {v0}, Les/lk0$c;-><init>()V

    sput-object v0, Les/lk0;->g:Les/oi0;

    :cond_0
    const/4 v0, 0x2

    new-array v0, v0, [Lorg/json/JSONObject;

    const/4 v1, 0x0

    .line 3
    sget-object v2, Les/lk0;->g:Les/oi0;

    invoke-interface {v2}, Les/oi0;->a()Lorg/json/JSONObject;

    move-result-object v2

    aput-object v2, v0, v1

    const/4 v1, 0x1

    new-instance v2, Lorg/json/JSONObject;

    invoke-direct {v2}, Lorg/json/JSONObject;-><init>()V

    aput-object v2, v0, v1

    invoke-static {v0}, Les/cl0;->a([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lorg/json/JSONObject;

    return-object v0
.end method

.method public static j()Les/cj0;
    .locals 1
    .annotation build Landroidx/annotation/NonNull;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->h:Les/cj0;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/cj0$a;

    invoke-direct {v0}, Les/cj0$a;-><init>()V

    invoke-virtual {v0}, Les/cj0$a;->a()Les/cj0;

    move-result-object v0

    sput-object v0, Les/lk0;->h:Les/cj0;

    .line 3
    :cond_0
    sget-object v0, Les/lk0;->h:Les/cj0;

    return-object v0
.end method

.method public static k()Les/hi0;
    .locals 1
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->i:Les/hi0;

    return-object v0
.end method

.method public static l()Les/ri0;
    .locals 1
    .annotation build Landroidx/annotation/Nullable;
    .end annotation

    .line 1
    sget-object v0, Les/lk0;->o:Les/ri0;

    return-object v0
.end method

.method public static m()Ljava/lang/String;
    .locals 1

    const-string v0, "1.9.5.1"

    return-object v0
.end method

.method public static n()Les/ji0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->k:Les/ji0;

    return-object v0
.end method

.method public static o()Les/ki0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->l:Les/ki0;

    return-object v0
.end method

.method public static p()Les/pi0;
    .locals 1

    .line 1
    sget-object v0, Les/lk0;->n:Les/pi0;

    return-object v0
.end method

.method public static q()Z
    .locals 2

    .line 1
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "is_enable_start_install_again"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result v0

    const/4 v1, 0x1

    if-eq v0, v1, :cond_1

    .line 2
    invoke-static {}, Les/lk0;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :cond_1
    :goto_0
    return v1
.end method

.method public static r()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public static s()D
    .locals 4

    .line 1
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "min_install_size"

    const-wide/16 v2, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lorg/json/JSONObject;->optDouble(Ljava/lang/String;D)D

    move-result-wide v0

    return-wide v0
.end method

.method public static t()J
    .locals 5

    .line 1
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "start_install_interval"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;)J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    const-wide/32 v0, 0x493e0

    :cond_0
    return-wide v0
.end method

.method public static u()J
    .locals 5

    .line 1
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v0

    const-string v1, "next_install_min_interval"

    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;)J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_0

    const-wide/16 v0, 0x2710

    :cond_0
    return-wide v0
.end method

.method public static v()Ljava/lang/String;
    .locals 3

    .line 1
    :try_start_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v1

    invoke-virtual {v1}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    sget-object v1, Ljava/io/File;->separator:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "ByteDownload"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 2
    invoke-static {}, Les/lk0;->i()Lorg/json/JSONObject;

    move-result-object v1

    const-string v2, "default_save_dir_name"

    invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    return-object v0

    :catchall_0
    const/4 v0, 0x0

    return-object v0
.end method
